//
//  ChanPinXingHaoTotalMoneyCell.m
//  FactorySale
//
//  Created by 李 on 2020/1/8.
//  Copyright © 2020 主事丫环. All rights reserved.
//

#import "ChanPinXingHaoTotalMoneyCell.h"

@implementation ChanPinXingHaoTotalMoneyCell

- (void)awakeFromNib {
    [super awakeFromNib];
    [self.addProductButton setImageEdgeInsets:UIEdgeInsetsMake(0.0, -10, 0.0, 0.0)];
}

-(void)setModel:(WeiFaHuoOrderDetailModel *)model{
    _model = model;
    if (_model) {
        self.totalMoneyLab.text = [NSString stringWithFormat:@"¥%@",self.totalMoney];
    }
}

-(void)setUnpaidOrHistoryOrderInfoDetailModel:(UnpaidOrHistoryOrderInfoDetailModel *)unpaidOrHistoryOrderInfoDetailModel{
    _unpaidOrHistoryOrderInfoDetailModel = unpaidOrHistoryOrderInfoDetailModel;
    if (_unpaidOrHistoryOrderInfoDetailModel) {
        self.totalMoneyLab.text = [NSString stringWithFormat:@"¥%@",_unpaidOrHistoryOrderInfoDetailModel.total_amount];
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

@end
